package com.syq.dao;

import com.github.pagehelper.PageInfo;
import com.syq.entity.Goods;
import com.syq.entity.PageBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.dao
 * @description: ${TODO}
 * @date 2022/6/23 11:41
 */
@Mapper

public interface GoodsDao {

    List<Goods> selectAll();

    Goods selectById(int id);

    void insert(Goods goods);

    List<Goods> selectByPage(Map<Object,Object> map);

    long selectCount(Map<Object, Object> map);
}
